package com.zkhz.base.domian.dto;

import com.zkhz.base.common.dto.BaseEntityDTO;
import com.zkhz.base.constant.enums.StatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class MyUserDTO extends BaseEntityDTO {
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "猫")
    private String schrodingerCat;
    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "年龄")
    private Integer age;
    //    @Version  //乐观锁
//    private Integer version;
    @ApiModelProperty(value = "状态")
    private StatusEnum status = StatusEnum.REST;
}
